#ifndef ITEMVIEWREPORTSDIALOG_H
#define ITEMVIEWREPORTSDIALOG_H

#include <QtGui>
#include "gui/collapsiblewidget.h"
#include "gui/shinylist.h"

class ItemViewReportsDialog : public QDialog
{
    Q_OBJECT
public:
    explicit ItemViewReportsDialog(QWidget *parent = 0);

signals:

public slots:

private:
    void initUiComponents();
    void initSignalsAndSlots();
    void generateTopProductReport();
    void generateDwindlingStockReport();

    QVBoxLayout *mainLayout;
    QLabel *headerLabel;
    QLabel *subHeaderLabel;

    CollapsibleWidget *topProductReport;
    ShinyList *topProductList;
    CollapsibleWidget *dwindlingStockReport;
    ShinyList *dwindlingStockList;

    QDialogButtonBox *buttonBox;
};

#endif // ITEMVIEWREPORTSDIALOG_H
